package com.xtz.mapper;

import com.xtz.domain.Order;
import com.xtz.vo.OrderPageVo;
import com.xtz.vo.SetmealVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * date: 2022/5/14 9:01
 *
 * @author xietianze
 */
@Mapper
@Repository
public interface OrderMapper {
    List<Order> page(
                            @Param("beginTime")String beginTime,
                            @Param("endTime")String endTime,
                            @Param("number")String number,
                            @Param("page")Integer page,
                            @Param("pageSize") Integer pageSize);

    int updatestatusById(@Param("status") Integer status,@Param("id") String id);
}
